package com.site.service;

import java.util.List;

import com.site.domain.TypicalCases;

/**
 * Purpose: 
 * @author: liangjun
 * @since: JDK 1.6
 * @date: 2015年5月25日
 */
public interface TypicalCasesService {
	
	/**
	 * Purpose: 分页查询
	 * @author: liangjun
	 * @param pageStart
	 * @param pageSize
	 * @throws Exception
	 * @return: List<TypicalCases>
	 */
	List<TypicalCases> findTypicalCases() throws Exception;
	
	/**
	 * Purpose: 获取
	 * @author: liangjun
	 * @param id
	 * @throws Exception
	 * @return: List<TypicalCases>
	 */
	TypicalCases getTypicalCasesById(int id) throws Exception;
	
	/**
	 * Purpose: 新增
	 * @author: liangjun
	 * @param id
	 * @throws Exception
	 * @return: List<TypicalCases>
	 */
	void addTypicalCases(TypicalCases typicalCases) throws Exception;
	
	/**
	 * Purpose: 修改
	 * @author: liangjun
	 * @param id
	 * @throws Exception
	 * @return: List<TypicalCases>
	 */
	void updTypicalCases(TypicalCases typicalCases) throws Exception;
	
	/**
	 * Purpose: 删除
	 * @author: liangjun
	 * @param id
	 * @throws Exception
	 * @return: List<TypicalCases>
	 */
	void delTypicalCasesById(int id) throws Exception;

}
